import { defineConfig } from "rollup"
import babel from "rollup-plugin-babel"
import resolve from "@rollup/plugin-node-resolve"

const config = defineConfig({
  input: "./src/index.js",
  output: {
    file: "./dist/vue.js",
    name: "Vue",
    format: "umd",
    sourcemap: true
  },
  plugins: [babel({ exclude: "node_modules/**" }), resolve()]
})

export default config
